package com.ecar.api.support.dto;

/**
 * Location地点临时对象，包含id、经纬度
 * Created by admin on 2016/9/20.
 */
public class LocationDto {

	private int id;
	private String address;
	private double longitude;
	private double latitude;

	public LocationDto() {
		this.id = 0;
		this.address = null;
		this.longitude = 0.0;
		this.latitude = 0.0;
	}

	public LocationDto(String address, double longitude, double latitude) {
		this.id = 0;
		this.address = address;
		this.longitude = longitude;
		this.latitude = latitude;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

}
